Manual Integration Test: Recursive Hierarchy Maintenance
DESCRIPTION
Test maintenance of a recursive hierarchy, as well as editing of nodes.
PREPARATION
To check console errors open the developer tools before starting the application and check
with each step, that there are no errors and warnings. Ignore initial message bundle errors.
Testing with mock data
Start the Recursive Hierarchy application URL (adjust host and port if necessary):
REALIZE and CHECK
First Page
- Check: The table should have the following content (empty lines not shown):
| Level |
(Icon's Tooltip) |
ID |
Manager's ID |
Name |
Age |
"Create New Child" enabled |
| 1 | Expand | 0 | | Alpha | 60 | - |
Expand 0 (Alpha)
- Click on the expand button in the row 0 (Alpha).
- Check: The table should have the following content (empty lines not shown):
| Level |
(Icon's Tooltip) |
ID |
Manager's ID |
Name |
Age |
"Create New Child" enabled |
| 1 | Collapse | 0 | | Alpha | 60 | ✓ |
| 2 | Expand | 1 | 0 | Beta | 55 | - |
| 2 | Leaf | 2 | 0 | Kappa | 56 | ✓ |
| 2 | Leaf | 3 | 0 | Lambda | 57 | ✓ |
| 2 | Expand | 4 | 0 | Mu | 58 | - |
| 2 | Expand | 5 | 0 | Xi | 59 | - |
Create New Child of 0 (Alpha)
- Click on the "Create New Child" button in the row 0 (Alpha).
- Check: The table should have the following content (empty lines not shown):
| Level |
(Icon's Tooltip) |
ID |
Manager's ID |
Name |
Age |
"Create New Child" enabled |
| 1 | Collapse | 0 | | Alpha | 60 | ✓ |
| 2 | Leaf | 6 | 0 | | 54 | ✓ |
| 2 | Expand | 1 | 0 | Beta | 55 | - |
| 2 | Leaf | 2 | 0 | Kappa | 56 | ✓ |
| 2 | Leaf | 3 | 0 | Lambda | 57 | ✓ |
| 2 | Expand | 4 | 0 | Mu | 58 | - |
| 2 | Expand | 5 | 0 | Xi | 59 | - |
Edit New Child's Name
- Enter "1st new child" as name of the newly created node with ID 6.
- Check: The table should have the following content (empty lines not shown):
| Level |
(Icon's Tooltip) |
ID |
Manager's ID |
Name |
Age |
"Create New Child" enabled |
| 1 | Collapse | 0 | | Alpha | 60 | ✓ |
| 2 | Leaf | 6 | 0 | 1st new child #0+1 | 154 | ✓ |
| 2 | Expand | 1 | 0 | Beta | 55 | - |
| 2 | Leaf | 2 | 0 | Kappa | 56 | ✓ |
| 2 | Leaf | 3 | 0 | Lambda | 57 | ✓ |
| 2 | Expand | 4 | 0 | Mu | 58 | - |
| 2 | Expand | 5 | 0 | Xi | 59 | - |
Create New Child of 2 (Kappa)
- Click on the "Create New Child" button in the row 2 (Kappa).
- Check: The table should have the following content:
| Level |
(Icon's Tooltip) |
ID |
Manager's ID |
Name |
Age |
"Create New Child" enabled |
| 1 | Collapse | 0 | | Alpha | 60 | ✓ |
| 2 | Leaf | 6 | 0 | 1st new child #0+1 | 154 | ✓ |
| 2 | Expand | 1 | 0 | Beta | 55 | - |
| 2 | Collapse | 2 | 0 | Kappa | 56 | ✓ |
| 2 | Leaf | 2.1 | 2 | | 55 | ✓ |
| 2 | Leaf | 3 | 0 | Lambda | 57 | ✓ |
| 2 | Expand | 4 | 0 | Mu | 58 | - |
| 2 | Expand | 5 | 0 | Xi | 59 | - |
Edit New Child's Name
- Enter "2nd new child" as name of the newly created node with ID 2.1.
- Check: The table should have the following content:
| Level |
(Icon's Tooltip) |
ID |
Manager's ID |
Name |
Age |
"Create New Child" enabled |
| 1 | Collapse | 0 | | Alpha | 60 | ✓ |
| 2 | Leaf | 6 | 0 | 1st new child #0+1 | 154 | ✓ |
| 2 | Expand | 1 | 0 | Beta | 55 | - |
| 2 | Collapse | 2 | 0 | Kappa | 56 | ✓ |
| 2 | Leaf | 2.1 | 2 | 2nd new child #0+1 | 55 | ✓ |
| 2 | Leaf | 3 | 0 | Lambda | 57 | ✓ |
| 2 | Expand | 4 | 0 | Mu | 58 | - |
| 2 | Expand | 5 | 0 | Xi | 59 | - |
Expand 5 (Xi)
- Click on the expand button in the row 5 (Xi).
- Check: The table should have the following content:
| Level |
(Icon's Tooltip) |
ID |
Manager's ID |
Name |
Age |
"Create New Child" enabled |
| 1 | Collapse | 0 | | Alpha | 60 | ✓ |
| 2 | Leaf | 6 | 0 | 1st new child #0+1 | 154 | ✓ |
| 2 | Expand | 1 | 0 | Beta | 55 | - |
| 2 | Collapse | 2 | 0 | Kappa | 56 | ✓ |
| 2 | Leaf | 2.1 | 2 | 2nd new child #0+1 | 55 | ✓ |
| 2 | Leaf | 3 | 0 | Lambda | 57 | ✓ |
| 2 | Expand | 4 | 0 | Mu | 58 | - |
| 2 | Collapse | 5 | 0 | Xi | 59 | ✓ |
Expand 5.1 (Omicron)
- Scroll down by one row so that 5.1 (Omicron) is at the bottom.
- Click on the expand button in the row 5.1 (Omicron).
- Check: The table should have the following content:
| Level |
(Icon's Tooltip) |
ID |
Manager's ID |
Name |
Age |
"Create New Child" enabled |
| 2 | Leaf | 6 | 0 | 1st new child #0+1 | 154 | ✓ |
| 2 | Expand | 1 | 0 | Beta | 55 | - |
| 2 | Collapse | 2 | 0 | Kappa | 56 | ✓ |
| 2 | Leaf | 2.1 | 2 | 2nd new child #0+1 | 55 | ✓ |
| 2 | Leaf | 3 | 0 | Lambda | 57 | ✓ |
| 2 | Expand | 4 | 0 | Mu | 58 | - |
| 2 | Collapse | 5 | 0 | Xi | 59 | ✓ |
| 3 | Collapse | 5.1 | 5 | Omicron | 41 | ✓ |
Create New Child of 5.1 (Omicron)
- Click on the "Create New Child" button in the row 5.1 (Omicron).
- Scroll down by one row so that 5.1.10 () is at the bottom.
- Check: The table should have the following content:
| Level |
(Icon's Tooltip) |
ID |
Manager's ID |
Name |
Age |
"Create New Child" enabled |
| 2 | Expand | 1 | 0 | Beta | 55 | - |
| 2 | Collapse | 2 | 0 | Kappa | 56 | ✓ |
| 2 | Leaf | 2.1 | 2 | 2nd new child #0+1 | 55 | ✓ |
| 2 | Leaf | 3 | 0 | Lambda | 57 | ✓ |
| 2 | Expand | 4 | 0 | Mu | 58 | - |
| 2 | Collapse | 5 | 0 | Xi | 59 | ✓ |
| 3 | Collapse | 5.1 | 5 | Omicron | 41 | ✓ |
| 4 | Leaf | 5.1.10 | 5.1 | | 20 | ✓ |
Scroll To The Bottom
- Scroll to the bottom.
- Check: The table should have the following content:
| Level |
(Icon's Tooltip) |
ID |
Manager's ID |
Name |
Age |
"Create New Child" enabled |
| 4 | Leaf | 5.1.2 | 5.1 | Rho | 22 | ✓ |
| 4 | Leaf | 5.1.3 | 5.1 | Sigma | 23 | ✓ |
| 4 | Leaf | 5.1.4 | 5.1 | Tau | 24 | ✓ |
| 4 | Leaf | 5.1.5 | 5.1 | Upsilon | 25 | ✓ |
| 4 | Leaf | 5.1.6 | 5.1 | Phi | 26 | ✓ |
| 4 | Leaf | 5.1.7 | 5.1 | Chi | 27 | ✓ |
| 4 | Leaf | 5.1.8 | 5.1 | Psi | 28 | ✓ |
| 4 | Leaf | 5.1.9 | 5.1 | Omega | 29 | ✓ |